package leetcode.code1034;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class S1034 implements IDebug {

	public abstract int[][] colorBorder(int[][] grid, int row, int col, int color);

	@Override
	public void debug1() {
		int[][] e = HelpDebug.str2array1("[[3,3],[3,2]]");
		HelpDebug.compare(e, this.colorBorder(HelpDebug.str2array1("[[1,1],[1,2]]"), 0, 0, 3));
	}

	@Override
	public void debug2() {
		int[][] e = HelpDebug.str2array1("[[1,3,3],[2,3,3]]");
		HelpDebug.compare(e, this.colorBorder(HelpDebug.str2array1("[[1,3,3],[2,3,3]]"), 0, 1, 3));
	}

	@Override
	public void debug3() {
		int[][] e = HelpDebug.str2array1("[[2,2,2],[2,1,2],[2,2,2]]");
		HelpDebug.compare(e, this.colorBorder(HelpDebug.str2array1("[[1,1,1],[1,1,1],[1,1,1]]"), 1, 1, 2));
	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
